objects=config.o

CFLAGS=-Dx86_64 -I/home/hcgy/extend_disk/libxml2/libxml2-2.9.10/install_x64/include/libxml2

LDFLAGS=-Wl,-rpath=/home/hcgy/extend_disk/libxml2/libxml2-2.9.10/install_x64/lib -L/home/hcgy/extend_disk/libxml2/libxml2-2.9.10/install_x64/lib/ -lxml2

config.o:../../app/config/config.cpp ../../app/config/config.h
	g++ -g -c -o $@ $< $(CFLAGS) $(LDFLAGS)

all:$(objects)
	g++ -g -o xml_test $^ $(LDFLAGS)



.PHONY:clean
clean:
	rm $(objects) xml_test

